package com.fkdx.dao.mapper;

import com.fkdx.dao.condition.RolePermissionCondition;
import com.fkdx.dao.entity.RolePermission;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository()
public interface RolePermissionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(RolePermission record);

    RolePermission selectByPrimaryKey(Long id);

    int updateByPrimaryKey(RolePermission record);
    
    int updateSelective(RolePermission record);

    List<RolePermission> selectAll(RolePermissionCondition condition);

    int updateByIds(@Param("ids") List<Long> ids);

}
